package com.ruoyi.goods.GoodsStore.service.impl;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.goods.GoodsStore.domain.Store;
import com.ruoyi.goods.GoodsStore.mapper.StoreMapper;
import com.ruoyi.goods.GoodsStore.service.IStoreService;
import org.springframework.stereotype.Service;


/**
 * 仓库信息Service业务层处理
 *
 * @author xuigui
 * @date 2022-11-27
 */
@Service
public class StoreServiceImpl extends ServiceImpl<StoreMapper, Store> implements IStoreService {

    /**
     * 查询仓库信息列表
     *
     * @param store 仓库信息
     * @return 仓库信息
     */
    @Override
    public List<Store> selectStoreList(Store store) {
        
        return getBaseMapper().selectStoreList(store);
    }

    @Override
    public int selectGoodsNumber(List<String> asList) {
        return getBaseMapper().selectGoodsNumber(asList);
    }

    @Override
    public int removeBatchByStates(List<String> asList) {

        return getBaseMapper().removeBatchByStates(asList);
    }
}
